#ifndef GLASGOW_COMA_SCALE_H
#define GLASGOW_COMA_SCALE_H
#include "abstractformula.h"

class Glasgow_Coma_Formula : public AbstractFormula
{
public:
    Glasgow_Coma_Formula()
        :AbstractFormula(tr("Glasgow Coma Scale")){}

    /*!
    *  \brief Glasgow Coma Scale
    *  Return Glasgow score
    *  \param eyeScore between 1 and 4
    *  \param verbalScore between 1 and 5
    *  \param motorScore between 1 and 6
    */

    int result(short int eyeScore,short int verbalScore,short int motorScore)
    {
       return eyeScore + verbalScore + motorScore;
    }
};

#endif // GLASGOW_COMA_SCALE_H
